//
//  StatusBottomView.swift
//  SinaMicroblog
//
//  Created by 唐绍禹 on 15/8/6.
//  Copyright © 2015年 唐绍禹. All rights reserved.
//

import UIKit

class StatusBottomView: UIView {
   
    override init(frame: CGRect) {
        super.init(frame: frame)
        
        setupUI()
    }

    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }

    private func setupUI() {
        addSubview(forwardButton)
        addSubview(commentButton)
        addSubview(likeButton)
        ff_HorizontalTile([forwardButton,commentButton,likeButton], insets: UIEdgeInsetsZero)
        
    }
    
    private lazy var forwardButton: UIButton = UIButton(title: " 转发", imageName: "timeline_icon_retweet", fontsize: 12, color: UIColor.darkGrayColor())
    
    private lazy var commentButton: UIButton = UIButton(title: " 评论", imageName: "timeline_icon_comment", fontsize: 12, color: UIColor.darkGrayColor())
    
    private lazy var likeButton: UIButton = UIButton(title: " 赞", imageName: "timeline_icon_unlike", fontsize: 12, color: UIColor.darkGrayColor())
    
//    private lazy var middleLine: UIImageView = {
//        let v = UIImageView()
//        v.image = UIImage(named: "timeline_card_middle_background")
//        return v
//    }()
   
}
